<?php
namespace App\Models;


/**
 * Model School
 *
 * @property int $id
 * @property string $school_name
 * @property string $logo
 * @property string $created_at
 * @property string $updated_at
 * @property string $deleted_at
 *
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School where($column, $operator = null, $value = null, $boolean = 'and')
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School whereIn($column, $values, $boolean = 'and', $not = false)
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School leftJoin($table, $first, $operator = null, $second = null)
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School rightJoin($table, $first, $operator = null, $second = null)
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School get($columns = ['*'])
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School paginate($perPage = 15, $columns = ['*'], $pageName = 'page', $page = null)
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School find($id, $columns = ['*'])
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School first($columns = ['*'])
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School select($columns = ['*'])
 * @method static \Illuminate\Database\Query\Builder | \App\Models\School orderBy($column, $direction = 'asc')
 * @package App\Model
 */
class School extends BaseModel
{
    protected $table = 'school';

    public function schoolUsers()
    {
        return $this->hasMany(SchoolUser::class);
    }

}
